


#打印直角三角形和一个菱形
for i in range(1,6):
    for j in range(i):
        print("*",end = '')
    print( )

for i in range(1,10,2):
    print(("*"*i).center(10))
for i in range(7,0,-2):
    print(("*"*i).center(10))





